package week14_database;

import java.util.List;

public interface StudentDao {
	public boolean writeStudent(Student student);
	public Student readStudent(String name);
	public List<Student> getAllStudents();//杩樻湭瀹炵幇锛屽悓瀛﹀彲浠ュ皾璇曞疄鐜�
	public void diplayAllStudent();
	int add(Student stu);
	int delete(int sid);
	int update(Student stu);
	List<Student> findAll();
	Student findById(String sid);
	List<Student> findByName(String name);
}
